<?php 
class faq_model extends CI_Model{
	function User_model()
	{
		 'parent'||model();
	}

function getquestionans()
         {
	 $query = "SELECT * FROM questions where status=1";
	         $result=$this->db->query($query); 
    if( $result->num_rows() > 0 ){
		  return $result;
		 }
		 else{
		  return false;
		 }}}?>